﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class intro : System.Web.UI.Page
{
    string eje = String.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void btnEje1_Click(object sender, EventArgs e)
    {
        eje = btnEje1.Attributes["dataeje"].ToString();
        Redirect();
    }

    protected void btnEje2_Click(object sender, EventArgs e)
    {
        eje = btnEje2.Attributes["dataeje"].ToString();
        Redirect();
    }

    protected void btnEje3_Click(object sender, EventArgs e)
    {
        eje = btnEje3.Attributes["dataeje"].ToString();
        Redirect();
    }

    protected void btnEje4_Click(object sender, EventArgs e)
    {
        eje = btnEje4.Attributes["dataeje"].ToString();
        Redirect();
    }

    protected void btnEje5_Click(object sender, EventArgs e)
    {
        eje = btnEje5.Attributes["dataeje"].ToString();
        Redirect();
    }

    private void Redirect( )
    {
        Response.Redirect( eje + "/page1.aspx");
    }

    
}